<%--
  Created by IntelliJ IDEA.
  User: 13972
  Date: 2020/8/8
  Time: 15:32
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>我的订单</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link href="images/style.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin:5px!important;margin:3px;">
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">

            <h1 class="text-center text-info">
                荔 子 网 上 花 店
            </h1>
        </div>
    </div>

    <!-- 订单列表 -->
    <div class="col-md-12 column">
        <ul class="nav nav-tabs">
            <li>
                <a href="index.html">首页</a>
            </li>
            <li>
                <a href="gouwuche.html">我的购物车</a>
            </li>
            <li>
                <a href="wodedingdan.html">我的订单</a>
            </li>
            <li>
                <a href="wodexinxi.html">我的信息</a>
            </li>

        </ul>


    </div>
    <div class="row clearfix">
        <div class="col-md-12 column">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                <tr>
                    <th>
                        顾客名
                    </th>
                    <th>
                        商品名
                    </th>
                    <th>
                        数量
                    </th>
                    <th>
                        地址
                    </th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${dingdans}" var="dingdan" >
                    <tr>
                        <td>
                                ${dingdan.gukename}
                        </td>
                        <td>
                                ${dingdan.mingcheng}
                        </td>
                        <td>
                                ${dingdan.shuliang}
                        </td>
                        <td>
                                ${dingdan.dizhi}
                        </td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>
